package ioc01;

import lombok.Data;

/**
 * Author：汤小洋
 * Date：2023-07-03 15:35
 * Description：<描述>
 */
public class HelloSpring {
    private String name;

    public HelloSpring() {
        System.out.println("HelloSpring的无参构造方法");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void show(){
        System.out.println("你好："+name);
    }
}
